package com.hzqy.persistence.dao.statistics;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.PmsUserVo;
import com.hzqy.web.vo.statistics.UserListenHistoryVo;
@Repository
public class SchoolListenDao extends PersistenceDao<PmsUserVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(ListenDao.class);
	public int school_listenCount(UserListenHistoryVo ulhVo){
		return getSqlSession().selectOne(this.getNamespace()+"school_listenCount",ulhVo);
	}
	
	public List<UserListenHistoryVo> school_listenList(Map<String,Object> map){
		return getSqlSession().selectList(this.getNamespace() + "school_listenList", map);
	}
	
	public List<UserListenHistoryVo> school_listen_excelList(Map<String,Object> map){
		return getSqlSession().selectList(this.getNamespace() + "school_listen_excelList", map);
	}
	public List<UserListenHistoryVo> school_listen_zjh(Map<String,Object> map){
		return getSqlSession().selectList(this.getNamespace() + "school_listen_zjh", map);
	}
}
